<template>
  <view class="card-title-container">
    <image src="../../static/action_title_left.png"></image>
    <text>{{title}}</text>
    <image src="../../static/action_title_right.png"></image>
  </view>
</template>

<script>
export default {
    props:{
        title:{
            type:String,
            default:''
        }
    }
};
</script>

<style lang="scss" scoped>
.card-title-container {
  width: 100%;
  height: 40rpx;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 50rpx;
}
.card-title-container image {
  width: 28rpx;
  height: 30rpx;
  margin-top: 5rpx;
}
.card-title-container text {
  line-height: 40rpx;
  font-size: 34rpx;
  color: #5b5b5b;
  margin-left: 20rpx;
  margin-right: 20rpx;
}
</style>
